home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1614 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.4 KB

  1. Path: newsroom.hitc.com!usenet
  2. From: psand@eos.hitc.com (G. Patrick Sand)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: templates
  5. Date: 11 Jan 1996 21:49:26 GMT
  6. Organization: Hughes Aircraft (EOSDIS)
  7. Message-ID: <4d40l6$6bh@newsroom.hitc.com>
  8. References: <4d2dk0$ldu@newsbf02.news.aol.com> <4d3qcu$n8o@geraldo.cc.utexas.edu>
  9. NNTP-Posting-Host: 155.157.118.56
  10. Mime-Version: 1.0
  11. X-Newsreader: WinVN 0.99.3
  12.  
  13. In article <4d3qcu$n8o@geraldo.cc.utexas.edu>, 
  14. rkilgore@lore.ece.utexas.edu says...
  15. >
  16. >scolarinc@aol.com (ScoLarInc) wrote:
  17. >>I am going to be taking a data structures course and the C++ code is 
  18. going
  19. >>to include the keyword "template".  MSVC Ver 1.5 doesn't recognize this
  20. >>word.  Anyone know if any of the MSVC versions do?  Also, which 
  21. versions
  22. >>of Borland recognize templates?  I hate to change compiler's, but may 
  23. have
  24. >>to.
  25. >
  26. >Yeah, can you believe it?  I'm stuck with 1.5 right now, too, and I'm 
  27. having
  28. >to use void* container classes.  What a pain in the butt!  MSVC 2.0 DOES
  29. >support templates, and so does 4.0.  These are both 32-bit compilers.  I 
  30. know
  31. >that 4.0 requires Win95 or WinNT.  I also know that the executables 
  32. created
  33. >by the 2.0 compiler must be run on Win95 or WinNT, or you have to have
  34. >Win32s for your Win 3.1 system.  What I can't remember is whether you 
  35. can
  36. >develop applications using MSVC 2.0 on a machine with Win 3.1 and 
  37. Win32s.
  38. >
  39. >I don't completely trust my memory, but I'm thinking that you cannot.  
  40. That
  41. >you have to have either Win95 or WinNT to use the 2.0 compiler.  Someone
  42. >please correct me if I'm wrong.
  43. >
  44. >        - rick
  45. >
  46. >-- 
  47. >Richard B. Kilgore
  48. >Grad Student, University of Texas at Austin
  49. >WWW URL: http://lore.ece.utexas.edu/~rkilgore/
  50. >E-mail rkilgore@lore.ece.utexas.edu
  51. >
  52.  
  53. In the VC++ 1.51 you use a macro to "EMULATE" templates--shades of 
  54. generic macros!!!  VC++ 2.x and 4.0 run on Win95 and/or WinNT and have 
  55. real templates.  I just finished installing Win95 on my PC and installed 
  56. VC++ 4.0 and have started exploring/using it...
  57.  
  58. I bought Symantic C++ 7.0 for Win16 coding so that I had real templates 
  59. (I also have Borland C++ 4.0 but no longer use it).
  60.  
  61. Hope this helps...
  62. -- 
  63. G. Patrick Sand
  64. psand@eos.hitc.com
  65. PatSand@aol.com
  66. (301) 925-0791
  67. "Travel Light But Right..."
  68. Microsoft Network is prohibited from redistributing 
  69. this work in any form, in whole or in part.   License 
  70. to distribute this individual post is available to Microsoft
  71. for $999. Posting without permission constitutes an 
  72. agreement to these terms...gps
  73.  
  74.